﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Siteheader.ascx.cs"
    Inherits="SLIITPro.Controls.Siteheader" %>
<div id="toppanel">
    <div id="panel">
        <div class="content clearfix">
            <div class="left">
                <h1>
                    Welcome to LIBS</h1>
                <asp:Literal ID="LiteralFBLogin" runat="server"></asp:Literal>
                <fb:prompt-permission perms="publish_stream">Would you like to publish on FB stream from our application?</fb:prompt-permission>
            </div>
            <asp:UpdatePanel ID="upLogin" runat="server" UpdateMode="Conditional">
                <ContentTemplate>
                    <div class="left">
                        <!-- Login Form -->
                        <h1>
                            Member Login</h1>
                        <label class="grey" for="txtPnlUsername">
                            Username:</label>
                        <asp:TextBox ID="txtPnlUsername" runat="server" CssClass="field"></asp:TextBox>
                        <label class="grey" for="txtPnlPassword">
                            Password:</label>
                        <asp:TextBox ID="txtPnlPassword" runat="server" CssClass="field" TextMode="Password"></asp:TextBox>
                        <label>
                            <input name="rememberme" id="rememberme" type="checkbox" checked="checked" value="forever" />
                            &nbsp;Remember me</label>
                        <div class="clear">
                        </div>
                        <asp:Label ID="lblLoginText" runat="server" 
                            style="color: #FFFFFF; background-color: #A62100"></asp:Label>
                        <asp:Button ID="btnPnlLogin" runat="server" Text="Submit" CssClass="bt_login" OnClick="btnLogin_Click" />
                        <a class="lost-pwd" href="../PasswordRecover/requestpw.aspx">Lost your password?</a>
                        <br />
                    </div>
                </ContentTemplate>
            </asp:UpdatePanel>
            <div class="left right">
                <!-- Register Form -->
                <!-- Register Form -->
                <h2>
                    Not a member yet? Sign Up!</h2>
                <p>
                    Get started! It's free and easy<br />
                    <div class="getting-started">
                        <a href="../Register.aspx" class="button-join-fe" title="Join LIBS">Join LIBS!</a></div>
                </p>
            </div>
        </div>
    </div>
    <!-- /login -->
    <!-- The tab on top -->
    <div class="tab">
        <ul class="login">
            <li class="left">&nbsp;</li>
            <li>
                <asp:HyperLink ID="hypLogout" runat="server"></asp:HyperLink></li>
            <li class="sep">|</li>
            <li id="toggle"><a id="open" class="open" href="#">Log In | Register</a> <a id="close"
                style="display: none;" class="close" href="#">Close Panel</a> </li>
            <li class="right">&nbsp;</li>
        </ul>
    </div>
    <!-- / top -->
</div>

